EvolutionChain

@Serializable
data class EvolutionChain(val id: Int, val babyTriggerItem: Handle.Named<Item>?, val chain: ChainLink) : Model(source)

Evolution chains are essentially family trees. They start with the lowest stage within a family and detail evolution conditions for each as well as Pokémon they can evolve into up through the hierarchy. See: https://pokeapi.co/docs/v2#evolution-chains

Parameters

id

The identifier for this resource.

babyTriggerItem

The item that a Pokémon would be holding when mating that would trigger the egg hatching a baby Pokémon rather than a basic Pokémon.

chain

The base chain link object. Each link contains evolution details for a Pokémon in the chain.

Constructors

Link copied to clipboard
constructor(id: Int, babyTriggerItem: Handle.Named<Item>?, chain: ChainLink)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val id: Int